package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.SaleListGoods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface SaleListGoodsMapper extends BaseMapper<SaleListGoods> {
    @MapKey("id")
    List<Map> count(@Param("sTime") String sTime,
                    @Param("eTime") String eTime,
                    @Param("goodsTypeId") Integer goodsTypeId,
                    @Param("codeOrName") String codeOrName);
}
